<div class="moreinfodetail">
	<ul id="box<?php echo $model->id;?>">
		<?php if ($model->yy){?>
		 <li>
		    <a href="#fragment<?php echo $model->id;?>1-1" title="英英释义" >
		    <span>英英释义</span></a>
		 </li>
		 <?php }?>
		 <?php if ($model->d21){?>
		 <li>
		    <a href="#fragment<?php echo $model->id;?>1-2" title="21世纪大英汉字典" >
		    <span>21世纪大英汉字典</span></a>
		 </li>
		 <?php }?>
		 <li>
			<a href="#fragment<?php echo $model->id;?>2-1" title="网络例句" >
			<span>网络例句</span></a>
			</li>
	</ul>
	<?php if ($model->yy){?>
		 <div id="fragment<?php echo $model->id;?>1-1" class="dictdetail">
		    <?php echo $model->yy->explanation;?>
		 </div>
	<?php }?>
	<?php if ($model->d21){?>
		 <div id="fragment<?php echo $model->id;?>1-2"  class="dictdetail">
		    <?php echo $model->d21->explanation;?>
		 </div>
	<?php }?>
	<div id="fragment<?php echo $model->id;?>2-1" class="ljdetail">
<?php 
foreach ($model->examples->getData() as $e){
	//print_r($e);
	?><li>
	<p><?php echo str_replace($model->word, "<strong>".$model->word."</strong>", $e->english);?></p>
	<p><?php echo $e->chinese;?></p>
	<p class="example-via"><?php echo $e->reference;?></p>
	</li><?php 
}
?>
</div>
	
	
	
</div>
<ul id="ljbox<?php echo $model->id;?>">
		
</ul>


